package fr.mywiki.business.log;

/**
 * This class should centralize all the console displays of the application.
 * 
 * @author tlombard
 */
public class LogManager {
	/**
	 * Each information displayed on the console begins with that string constant.
	 */
	private static final String CONSOLE_HEADING = "[log] ";
	
	/** Do we display information in the log */
	public static final boolean DISPLAY_IN_LOG = true;
	
	public static void println(String str) {
		if(DISPLAY_IN_LOG)
			System.out.println(CONSOLE_HEADING + str);
	}
}
